﻿@{
    ViewBag.Title = "Information";
}
<div class="row">
    <div id="userLeft" class="span2">
        @Html.Action("UserLeft", "Include")
    </div>
    <div id="userMain" class="span10">
        <ul class="breadcrumb">
            <li><a href="/Home">Home</a> <span class="divider">/</span></li>
            <li><a href="/UserCenter">My Account</a> <span class="divider">/</span></li>
            <li class="active">My Information</li>
        </ul>
        <ul class="nav nav-tabs" id="myTab">
            <li class="active"><a href="#profile">Profile</a></li>
            <li><a href="#billing">Billing Address</a></li>
            <li><a href="#shipping">Shipping Address</a></li>
            <li><a href="#payment">Payment</a></li>
        </ul>
        <div class="tab-content">
            <div class="tab-pane active" id="profile">@Html.Partial("_Profile")</div>
            <div class="tab-pane" id="billing">@Html.Partial("_Address", "EditBilling")</div>
            <div class="tab-pane" id="shipping">@Html.Partial("_Address", "EditShipping")</div>
            <div class="tab-pane" id="payment">@Html.Partial("_Payment")</div>
        </div>
    </div>
</div>
<script>
    $('#myTab a').click(function (e) {
        e.preventDefault();
        $(this).tab('show');
    })
</script>
